package com.nuanshui.heatedloan.credit.facade;

import com.nuanshui.heatedloan.credit.form.CustomerCreditResultForm;
import com.nuanshui.heatedloan.credit.vo.CustomerCreditResultVO;

/**
 * Created by wangxw on 2017/7/12.
 */
public interface CustomerCreditResultService {
    /***
     * 获取认证结果信息
     * @param userId
     * @return
     */
    CustomerCreditResultVO loadVOByUserId(String userId);

    /***
     * 更新认证结果
     * @param customerCreditResultForm
     */
    void  updateByUserId(CustomerCreditResultForm customerCreditResultForm);

    /***
     * 新增
     * @param customerCreditResultForm
     */
    void save(CustomerCreditResultForm customerCreditResultForm);

    /***
     * 把计算额度的这条数据状态变为无效
     * @param userId
     */
    public void updateStatus(String userId);

}
